package com.ctrip.ibu.member.broker.module;


import io.swagger.annotations.ApiModel;

/**
 * @author he.shaorong
 * @create 2023/3/20 18:36
 * @since 1.0.0
 */
@ApiModel("broker节点")
public class BrokerNode {
    private String ip;
    private boolean isActive;

    public BrokerNode(String ip, boolean isActive) {
        this.ip = ip;
        this.isActive = isActive;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public boolean isActive() {
        return isActive;
    }

    public void setActive(boolean active) {
        isActive = active;
    }
}
